package com.chatgpt_backend.service;

import com.chatgpt_backend.entity.user.RegisterUser;
import jakarta.servlet.http.HttpSession;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface AuthorizeService extends UserDetailsService {
    String sendValidEmail(String email, boolean hasAccount, String sessionId);
    String validateRegisterAccount(RegisterUser user, String code);
    String validateOnly(String email, String code, String sessionId);
    Boolean resetPsd(String email, String newPassword);
}
